using System;
using System.Collections.Generic;
using System.Text;
using Example.Model;
using Example.WSClient;

namespace Example.Client
{
    class Program
    {
        static void Main(string[] args)
        {
            IHelloWorld helloWorld = GetHelloWorldClient();
            Console.WriteLine(helloWorld.SayHello("WSCodeGen"));
            Console.ReadLine();
        }

        static IHelloWorld GetHelloWorldClient()
        {
            HelloWorldClient helloWorld = new HelloWorldClient();
            helloWorld.Url = "http://localhost:3586/HelloWorld.asmx";
            return helloWorld;
        }
    }
}
